.PHONY: im-cli
wutongTcDev02=root@175.24.199.164

im-cli:
	env GOOS=linux go build -ldflags="-s -w" -o wthsjy-im-client-new
	@rsync -e 'ssh -p 22' -c wthsjy-im-client-new $(wutongTcDev02):/data/bin/wthsjy-im-client-new
	ssh $(wutongTcDev02) -p 22 "mv /data/bin/wthsjy-im-client /data/bin/wthsjy-im-client-old && mv /data/bin/wthsjy-im-client-new /data/bin/wthsjy-im-client"
